package com.wrupple.muba.catalogs.client.module.services.logic.impl;

import java.io.IOException;

import com.wrupple.muba.catalogs.client.module.services.logic.VoidCatalogDescriptorSerializer;
import com.wrupple.muba.common.client.JSOHelper;
import com.wrupple.vegetate.client.domain.JsCatalogDescriptor;

public class VoidCatalogDescriptorSerializerImpl implements
		VoidCatalogDescriptorSerializer {

	@Override
	public JsCatalogDescriptor deserialize(String string) {
		JsCatalogDescriptor d = JSOHelper.eval(string).cast();
		return d;
	}

	@Override
	public String serialize(Void object) throws IOException {
		return null;
	}

}
